<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ taglib uri="/WEB-INF/myfaces_core.tld" prefix="f" %>
<%@ taglib uri="/WEB-INF/myfaces_html.tld" prefix="h" %>
<%@ taglib uri="/WEB-INF/tomahawk.tld" prefix="t" %>
<%@ taglib uri="/WEB-INF/htmLib.tld" prefix="htm" %>

<%@include file="/pages/pageTop.jspf" %>

<f:view>
    <htm:div styleClass="pageTitle">
        <t:outputText value="Thesis Final Review" />
    </htm:div>

    <htm:div styleClass="formBlock">
	    <h:form id="proposalForm" style="margin: 0 auto;">
	    
	    	<t:messages globalOnly="false" />
	    	             
	        <htm:div styleClass="standardBlock">
                <t:outputLabel
                    styleClass="label"
                    value="Reviewer: #{mbThesisBean.user.name}" />
	        </htm:div>
	        
	        <htm:div styleClass="standardBlock">
                <h:panelGrid
                    columns="2" 
                    border="0"
                    columnClasses="alignRight, alignLeft">
		        	
		        	<t:outputLabel styleClass="label" value="Title: " />
		        	<t:outputText value="#{mbThesisBean.thesis.title}" />
		        	
		        	<t:outputLabel styleClass="label" value="Review: " />
		        	<t:inputTextarea value="#{mbThesisBean.thesis.review}" rows="5" cols="50" />
		        	
		        	<t:outputLabel styleClass="label" value="Assessment: " />
		        	<t:inputText value="#{mbThesisBean.thesis.assessment}" size="10" />
		        </h:panelGrid>
	        </htm:div>
	        
	        <htm:div styleClass="standardBlock">
	        	<t:commandButton 
	        		value="Submit"
	        		action="#{mbThesisBean.actionReview}" />
	        </htm:div>
	    </h:form>
    </htm:div>            
</f:view>
        
<%@include file="/pages/pageBottom.jspf" %>